#
# Be sure to run `pod lib lint XBasicKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = 'XBasicKit'
    s.version          = '0.0.1'
    s.summary          = 'BasicKit 依赖RxTheme 的基础UI组件'
    
    # This description is used to generate tags and improve search results.
    #   * Think: What does it do? Why did you write it? What is the focus?
    #   * Try to keep it short, snappy and to the point.
    #   * Write the description between the DESC delimiters below.
    #   * Finally, don't worry about the indent, CocoaPods strips it!
    
    s.description      = <<-DESC
    TODO: Add long description of the pod here.
    DESC
    
    s.homepage         = 'https://gitee.com/anruhome/xbasic-kit'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'anru' => '910736302@qq.com' }
    s.source           = { :git => 'https://gitee.com/anruhome/xbasic-kit.git', :tag => s.version.to_s }
    # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    
    s.ios.deployment_target = '13.0'
    s.platform = :ios, '13.0'
    s.requires_arc = true
    s.swift_version = '5.0'
#    s.pod_target_xcconfig = { "ENABLE_BITCODE" => "No" }
    
#    s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
#    s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'}
#
    s.source_files = 'XBasicKit/Classes/**/*'
    
    # s.resource_bundles = {
    #   'XBasicKit' => ['XBasicKit/Assets/*.png']
    # }
    
    # s.public_header_files = 'Pod/Classes/**/*.h'
#      s.frameworks = 'UIKit'
    
#    s.subspec 'Common' do |ss|
#        ss.source_files = 'XBasicKit/Classes/Common/*'
#    end
    

    # Rx Extensions
    s.dependency 'NSObject+Rx', '~> 5.0'  # https://github.com/RxSwiftCommunity/NSObject-Rx
    s.dependency 'RxGesture', '~> 4.0'  # https://github.com/RxSwiftCommunity/RxGesture
    s.dependency 'RxOptional', '~> 5.0'  # https://github.com/RxSwiftCommunity/RxOptional
    s.dependency 'RxSwiftExt', '~> 6.0'
    # https://github.com/RxSwiftCommunity/NSObject-Rx
    
    # UI
    # https://github.com/Ramotion/animated-tab-bar
    s.dependency 'RAMAnimatedTabBarController', '~> 5.0'
    # https://github.com/HeshamMegid/HMSegmentedControl
#    s.dependency 'HMSegmentedControl', '~> 1.0'
#    s.dependency 'DZNEmptyDataSet', '~> 1.0'  # https://github.com/dzenbot/DZNEmptyDataSet
#    s.dependency 'EmptyDataSet-Swift', '~> 5.0.0' # https://github.com/Xiaoye220/EmptyDataSet-Swift
#    s.dependency 'WhatsNewKit', '~> 1.0'  # https://github.com/SvenTiigi/WhatsNewKit
    s.dependency 'MessageKit', '~> 3.0'  #https://github.com/MessageKit/MessageKit
    # https://github.com/OpenFeyn/KafkaRefresh
    s.dependency 'KafkaRefresh', '~> 1.0'
#    s.dependency 'ImageSlideshow/Kingfisher', '~> 1.0' #  https://github.com/zvonicek/ImageSlideshow
#    s.dependency 'DropDown', '~> 2.0'  # https://github.com/AssistoLab/DropDown
    
    s.dependency'Toast-Swift', '~> 5.0'  # https://github.com/scalessec/Toast-Swift
    
    # Image
    s.dependency  'Kingfisher', '~> 7.0'  # https://github.com/onevcat/Kingfisher
    
    s.dependency 'SVProgressHUD', '~> 2.0'  #https://github.com/SVProgressHUD/SVProgressHUD
    s.dependency 'Hero', '~> 1.6'  # https://github.com/lkzhao/Hero
    
    # Auto Layout
    s.dependency 'SnapKit', '~> 5.0'  # https://github.com/SnapKit/SnapKit
    
    # Keyboard
    s.dependency 'IQKeyboardManagerSwift', '~> 6.0'  # https://github.com/hackiftekhar/IQKeyboardManager
    
    s.dependency 'XResources', '0.0.1'
    
    s.dependency 'XLog', '0.0.1'
    
    s.dependency 'XUtilities', '0.0.1'
    
    s.dependency 'XDesignKit', '0.0.1'
    
    s.dependency 'XNetwork', '0.0.1'
    
    
    
    
 
#    # 仅在 Debug 模式下的依赖
#    if ENV['CONFIGURATION'] == 'Debug'
#        # https://github.com/Flipboard/FLEX
#        s.dependency 'FLEX', '~> 5.0'
#    end
end
